<?php
/**
 * Layout used to display error pages
 *
 * @category backoffice
 * @package backoffice_layouts
 * @copyright Company
 */

// configure the title
$this->headTitle()->setSeparator(' - ');
$this->headTitle('Company');

// add generic scripts
$this->headScript()->appendFile($this->baseUrl() . '/js/jquery.min.js');

// add generic CSS files
$this->headLink()->appendStylesheet($this->baseUrl() . '/css/backoffice.css');

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <meta http-equiv="content-style-type" content="text/css" />
        <meta http-equiv="content-script-type" content="text/javascript" /> 
            
        <?php echo $this->headTitle() . PHP_EOL; ?>
        <?php echo $this->headScript() . PHP_EOL; ?>
        <?php echo $this->headLink() . PHP_EOL; ?>
        
        <!--[if lte IE 7.0]>
            <link rel="stylesheet" type="text/css" href="css/ie.css" media="screen, projection, tv" />
        <![endif]-->
    
        <script type="text/javascript" charset="utf-8"> 
            //Set focus on username field
            $(document).ready(function() {
                $('input#username').focus();
            });
        </script>
    </head>
    <body id="login">
        <div class="box box-50 altbox">
            <div class="boxin">
                <div class="header">
                    <h3><img src="<?php echo $this->baseUrl(); ?>/images/logo-login.png" alt="Vendo backoffice" /></h3>
                </div> 
                
                <?php echo $this->layout()->content;?>
            </div>
        </div>
    </body>
</html>